package com.example.demo3.domain.vo;

import com.example.demo3.domain.Role;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserVo {

    private Integer  id;

    private String userName;


    private String password;


    /**
     * 用户对应的角色集合
     */
    private Set<Role> roles;

}
